package com.crr.mall.product.dao;

import com.crr.mall.product.entity.SpuImagesEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * spu图片
 * 
 * @author chenrenren
 * @email chenrenren@gmail.com
 * @date 2024-11-22 14:50:19
 */
@Mapper
public interface SpuImagesDao extends BaseMapper<SpuImagesEntity> {

    /**
     * 保存图片集
     * @param spuId
     * @param images
     * @return
     */
    int saveImages(@Param("spuId") Long spuId, @Param("images") List<String> images);
}
